.home-container {
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
}

.section {
    height: 100vh;
    width: 100%;
}

.section-1 {
    height: 100vh;
    width: 100%;
    background-color: #000;
    overflow: hidden;
}

.section-2 {
    background-color: skyblue;
    font-size: 2rem;
    color: white;
}

.section-3 {
    background-color: greenyellow;
    font-size: 2rem;
    color: #333;
}

.iframe-wrapper iframe {
    width: 100vw;
    height: 100vh;
    border: none;
}

/* 防止在滚动动画期间的选择 */
.home-container.scrolling {
    pointer-events: none;
}

/* 退出提示对话框样式 */
.exit-prompt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.exit-prompt {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.exit-prompt h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.5rem;
}

.exit-prompt p {
    margin: 0 0 1.5rem 0;
    color: #666;
    line-height: 1.5;
}

.exit-prompt-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.exit-prompt-hint {
    font-size: 0.875rem;
    color: #999;
    margin: 0;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section-2,
    .section-3 {
        font-size: 1.5rem;
    }
    
    .exit-prompt {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .exit-prompt-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .exit-prompt-buttons button {
        width: 100%;
    }
}








